import axios from '@/common/plugins/Axios'

export default {
    // 机器人平台列表，可分页查询
    querySchjeduling: (digUserName: String, stageName: String, statusCd: String, createDate: String,endDate: String,size:number,page:number) => {
        return axios.request({
            url: `/monitorManage/scheduling/getScheduling`,
            method: 'get',
            params: {
                digUserName: digUserName,
                stageName: stageName,
                statusCd: statusCd,
                createDate: createDate,
                endDate: endDate,
                size: size,
                page: page
            }
        })
    },
    // 根据真实工号查询数字员工名称
    querydigUserName: (staffAccount: String) => {
        return axios.request({
            url: `/monitorManage/scheduling/getdigUserName`,
            method: 'get',
            params: {
                staffAccount: staffAccount
            }
        })
    },
}
